@layout("/common/_form.html",{js:["/assets/nanSellerDevice/nanSellerDevice_edit.js"],css:["/assets/common/module/formSelects/formSelects-v4.css"]}){

<form class="layui-form" id="nanSellerDeviceForm" lay-filter="nanSellerDeviceForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label layui-form-required">标签</label>
                        <div class="layui-input-block">
                            <select id="tag" name="tag" xm-select="selTag" lay-verify="required">
                                <option value="">下拉多选框</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label layui-form-required">地址头</label>
                        <div class="layui-input-block">
                            <input id="address" name="address" placeholder="请输入地址头" type="text" class="layui-input" lay-verify="required" required />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label layui-form-required">运营组</label>
                        <div class="layui-input-block">
                            <input type="hidden" name="sellerId" lay-verify="required" required/>
                            <button type="button" class="layui-btn" id="sellerId">选择</button>
                            <span id="sellerName" style="line-height: 36px;" class="choose-name"></span>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label layui-form-required">编码</label>
                        <div class="layui-input-block">
                            <input type="hidden" name="code" lay-verify="required" required/>
                            <span id="code" style="line-height: 36px;" class="choose-name"></span>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label layui-form-required">设备名称</label>
                        <div class="layui-input-block">
                            <input id="model" name="model" placeholder="请输入设备名称" type="text" class="layui-input" lay-verify="required" required />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label layui-form-required">分类</label>
                        <div class="layui-input-block">
                            <select id="cateId" name="cateId" lay-filter="cateId" lay-verify="required">
                                <option value="">-请选择-</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label layui-form-required">图片</label>
                        <div class="layui-upload">
                            <button type="button" class="layui-btn layui-icon layui-icon-picture" id="img">上传图片</button>
                            <div class="layui-upload-wrap">
                                <input type="hidden" name="img" lay-verify="required" required />
                                <img class="layui-upload-img" id="imgImgPreview">
                            </div>
                            <div class="nan-tips">备注：图片尺寸：250px*250px</div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label layui-form-required">选择玩法</label>
                        <div class="layui-input-block nan-sense" id="scene"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
    </div>

</form>

@}
